



export function printTemplateInstace(iframeNode: HTMLIFrameElement) {
  const iframePrint = iframeNode.contentWindow;

  iframePrint;

  // function sendDocument(_docs: HTMLElement[]) {
  function sendDocument() {
    // 设置打印的文档
  }

  // function setDocumentTitle() {
  function setDocumentTitle() {
    // 设置打印文档的标题

  }


  return {
    sendDocument, setDocumentTitle
  };
}



export const rejected = (msg: string) => { throw Error(msg) };